<table  width="98%">
<tr>
<th><?php echo getFieldFromDatabase("content", "page_title", "content_id",$_GET["index"]); ?>
</th>
</tr>
<tr>
	<td>
<?php $catID = getFieldFromDatabase("content", "category_id", "content_id",$_GET["index"]); ?>
<div class="page_cat">
    <ul>
    <?php
    $subCatResult = getSubCategoryFind($catID,0,"NO");
  // $subCat = mysql_fetch_assoc($subCatResult);
//   while($subCat = mysql_fetch_assoc($subCatResult)){
     
        drawSiteMap($subCatResult);
//    }
     $subL= getContentByCat($_GET["index"],0,"NO");
    drawContent($subL);
    
    ?>
    </ul>
</div>
</td>
</tr>
</table>
